import tushare as ts
hs300 = ts.get_k_data('hs300',start ='2022-01-01', end ='2022-02-29')
print(hs300)